﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Space
{
    class TradeShip : AristotleShip
    {

        public int TradeValue { get; set; }

        public TradeShip(Game game)
            : base(game)
        {
            Speed = 0.1f;
            HP = 1;
            TradeValue = 10;
            Scale = 0.5f;
            Model = game.Content.Load<Model>("models/corvette");
            NoCollision = true;
        }

        protected override void Arrived()
        {
            Player.Credit += TradeValue;
            Alive = false;
            NoExplode = true;
        }
    }
}
